package com.fadadianqi.logistics.customer.dao.ibatis;

import com.fadadianqi.commons.GenericDAOSuport;
import com.fadadianqi.logistics.customer.dao.MsgJobDAO;
import com.fadadianqi.logistics.customer.model.MsgJob;
import org.springframework.stereotype.Component;

@Component
public class MsgJobDAOImpl extends GenericDAOSuport<String, MsgJob> implements
        MsgJobDAO {

    @Override
    protected Class<?> getObjectClass() {
        return MsgJob.class;
    }

    @Override
    protected String getTableName() {
        return "msg_job";
    }

    @Override
    public int countAll() {
        return super.countAll(null);
    }


}
